package com.wangzefeng.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author wangzefeng
 * @since 2021-03-18
 */
public class SysRoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_menu_id", type = IdType.AUTO)
    private Integer roleMenuId;

    /**
     * 角色id
     */
    private Integer roleId;

    /**
     * 菜单id
     */
    private Integer menuId;

    /**
     * 是否能增加数据
     */
    private Integer addData;

    /**
     * 是否能修改数据
     */
    private Integer editData;

    /**
     * 是否能删除数据
     */
    private Integer deleteData;


    public Integer getRoleMenuId() {
        return roleMenuId;
    }

    public void setRoleMenuId(Integer roleMenuId) {
        this.roleMenuId = roleMenuId;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public Integer getAddData() {
        return addData;
    }

    public void setAddData(Integer addData) {
        this.addData = addData;
    }

    public Integer getEditData() {
        return editData;
    }

    public void setEditData(Integer editData) {
        this.editData = editData;
    }

    public Integer getDeleteData() {
        return deleteData;
    }

    public void setDeleteData(Integer deleteData) {
        this.deleteData = deleteData;
    }

    @Override
    public String toString() {
        return "SysRoleMenu{" +
        "roleMenuId=" + roleMenuId +
        ", roleId=" + roleId +
        ", menuId=" + menuId +
        ", addData=" + addData +
        ", editData=" + editData +
        ", deleteData=" + deleteData +
        "}";
    }
}
